package com.huatai.bi.websocket;

import lombok.Data;

import java.io.Serializable;

/**
 * @program: ganghua
 * @description: 消息体
 * @author: songxiude
 * @create: 2024-09-19 09:37
 **/
@Data
public class MessageResult implements Serializable {
	private static final long serialVersionUID = 7849057146501910808L;
	private String toUserId;
	private String msgInfo;
	private int msgType;

	private String topic;

	public MessageResult() {

	}

	public MessageResult(String toUserId, String msgInfo, int msgType,String topic) {
		this.toUserId = toUserId;
		this.msgInfo = msgInfo;
		this.msgType = msgType;
		this.topic = topic;
	}
}
